# $Id: PKGBUILD 88433 2013-04-17 15:11:03Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor : Rohan Dhruva (rohandhruva at gmail dot com)

pkgname=python2-docs
pkgver=2.7.4
pkgrel=1
pkgdesc="Set of HTML documentation for python."
arch=('any')
url="http://docs.python.org/"
license=('GPL')
install=python2-docs.install
options=('docs')
source=(http://docs.python.org/ftp/python/doc/$pkgver/python-$pkgver-docs-html.tar.bz2)
md5sums=('45be073ad81e1b2f6ad1fa25132f60c6')

package() {
  mkdir -p $pkgdir/usr/share/doc/python2/html
  cp -rf $srcdir/python-$pkgver-docs-html/* $pkgdir/usr/share/doc/python2/html/
  find $pkgdir/usr/share/doc/python2/html/ -type f -exec chmod 0644 {} \;
  find $pkgdir/usr/share/doc/python2/html/ -type d -exec chmod 0755 {} \;
}
